
package com.cmc.dao;

import java.util.List;

import com.cmc.dao.Dao;
import com.cmc.model.SystemCharacter;

public interface SystemCharacterDao extends Dao {

    /**
     * Retrieves all of the systemCharacters
     */
    public List getSystemCharacters(SystemCharacter systemCharacter);

    /**
     * Gets systemCharacter's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the systemCharacter's id
     * @return systemCharacter populated systemCharacter object
     */
    public SystemCharacter getSystemCharacter(final Long id);

    /**
     * Saves a systemCharacter's information
     * @param systemCharacter the object to be saved
     */    
    public void saveSystemCharacter(SystemCharacter systemCharacter);

    /**
     * Removes a systemCharacter from the database by id
     * @param id the systemCharacter's id
     */
    public void removeSystemCharacter(final Long id);
}

